export interface MenuListParam {
    title: string
    status: string
}

export interface MenuModel {
    id: number
    editType: string // 新增 编辑
    type: string
    parent_id: string
    path: string
    name: string
    hidden: string
    component: string // 对应前端文件路径
    title: string
    sort: number
    icon: string
    code: string
    keep_alive: string
    is_link: string
    status: string
}

export interface AddMenuModel {
    id: number
    editType: string // 新增 编辑
    type: number
    parent_id: number
    path: string
    name: string
    hidden: number
    component: string // 对应前端文件路径
    title: string
    sort: number
    icon: string
    code: string
    keep_alive: number
    is_link: number
    status: number
}

export interface MenuParam {
    id: number | string
}

//上级树选中的数据
export interface SelectNode {
    id: string | number
    name: string
}
